package com.example.asus.yuejian_10.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;

import android.widget.ImageView;
import android.widget.TextView;

import com.example.asus.yuejian_10.R;


/**
 * Created by HP on 2017/3/6.
 */

public class ClubViewHolder extends RecyclerView.ViewHolder {
    public ImageView pic;
    public TextView name;


    public View itemView;  //添加监听器

    public ClubViewHolder(View itemView) {
        super(itemView);

        this.itemView = itemView;

        pic = (ImageView) itemView.findViewById(R.id.clublist_pic);
        name = (TextView) itemView.findViewById(R.id.clublist_name);

    }
}
